import bluecove.BlueSync;
import config.Setup;
import gdata.NotebookImpl;

/**
 * Class description...
 *
 * @author mvu
 * java -classpath /Users/mvu/depot/bluesynchronizer/out/production/Bluesynchronizer:/Users/mvu/depot/test.google/java/lib/*.jar:/Users/mvu/depot/bluecove-2.0.3.jar:/Users/mvu/depot/activation.jar Main

 */
public class Main {
  public static void main(String[] args) throws Exception {
    if(args != null && args.length > 0 && args[0].equals("--setup")){
      Setup.main(args);
      System.exit(0);
    }
    try {
      NotebookImpl notebook = new NotebookImpl(new BlueSync());
      notebook.syncNotes();
    } catch (Exception e) {
      e.printStackTrace();
    }
  }
}
